package mymac.com.test_3_1;

/**
 * Created by mymac on 2017/3/10.
 */

public class DataCache {
    public String errmsg;
    public String token;
    private static DataCache dataCache;

    public static DataCache getInstance(){
        if (dataCache == null){
            dataCache = new DataCache();
        }
        return dataCache;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
